﻿using CustomCharacter;
using CustomCharacter.Interfaces;
using UnityEngine;

namespace CustomRoleTemplate
{
    [RoleInfo("Name", SideType.None, PlayerRoles.RoleTypeId.None, PlayerRoles.RoleTypeId.None)]
    public class CustomRoleTemplate : CustomCharacter.CustomCharacter, IRoundStartSpawn
    {
        public CustomRoleTemplate(string userid) : base(userid)
        {
        }
        //public CoroutineHandle _coroutine;
        public override Color32 RoleColor => new Color32(255, 255, 255, 255);

        public byte MinPlayers => 0;

        public override void Role_Activate()
        {
            //_coroutine = Timing.RunCoroutine(_update());
        }
        public override void Role_Deactive()
        {
            //Timing.KillCoroutines(_coroutine);
        }
        //private IEnumerator<float> _update()
        //{
        //    while(true)
        //    {
        //        yield return Timing.WaitForSeconds(1.0f);
        //    }
        //}
    }
}
